package kr.hkit.androidcomplete02.ch03;

import kr.hkit.androidcomplete02.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class ch03Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch03_main);
	}

	public void mOnClick(View v) {
		Intent intent = null;
		switch (v.getId()) {
		case R.id.ch03_btn01:
			intent = new Intent(this, ProgressBarTest.class);
			break;
		case R.id.ch03_btn02:
			intent = new Intent(this, ProgressTitle.class);
			break;
		case R.id.ch03_btn03:
			intent = new Intent(this, SeekBarTest.class);
			break;
		case R.id.ch03_btn04:
			intent = new Intent(this, RatingBarTest.class);
			break;
		case R.id.ch03_btn05:
			intent = new Intent(this, DatePickerTest.class);
			break;
/*		case R.id.ch03_btn06:
			intent = new Intent(this, TimePickerTest.class);
			break;
*/		case R.id.ch03_btn07:
			intent = new Intent(this, PickerDialogTest.class);
			break;
		case R.id.ch03_btn08:
			intent = new Intent(this, WebViewTest.class);
			break;
		case R.id.ch03_btn09:
			intent = new Intent(this, SwitchTest.class);
			break;
		case R.id.ch03_btn10:
			intent = new Intent(this, NumberPickerTest.class);
			break;
		case R.id.ch03_btn11:
			intent = new Intent(this, CalendarViewTest.class);
			break;
		case R.id.ch03_btn12:
			intent = new Intent(this, ListPopupWindowTest.class);
			break;

		}
		startActivity(intent);

	}
}
